CREATE TABLE [dbo].[tr_Email](
	[EmailId] [uniqueidentifier] ROWGUIDCOL  NOT NULL,
	[EmailAddress] [varchar](max) NOT NULL,
	[Character] [varchar](100) NULL,
	[Description] [varchar](max) NULL,
	[EntryDt] [datetime] NOT NULL,
	[Subject] [varchar](max) NULL,
	[Body] [varchar](max) NULL,
 CONSTRAINT [PK_tr_Email] PRIMARY KEY CLUSTERED 
(
	[EmailId] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[tr_Email] ADD  CONSTRAINT [DF_tr_Email_EmailId]  DEFAULT (newid()) FOR [EmailId]
GO

ALTER TABLE [dbo].[tr_Email] ADD  CONSTRAINT [DF_tr_Email_EntryDt]  DEFAULT (getdate()) FOR [EntryDt]
GO


